﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmsReader
{
    class Message
    {
        public int index;
        public string direction;
        public string number;
        public string content;
        public DateTime time;
        public string longsmsid;
        public string position;

        internal string Print()
        {
            return (string.Format("id: {0}[{4}]\t{5}:{1}\t\tOra:{2}\n{3}", index, number, time, content, (position == "0") ? "out" : "in", (position == "0") ? "A" : "DA"));
        }
    }
}
